package com.zjx.shop.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zjx.shop.common.utils.PageUtils;
import com.zjx.shop.common.utils.PageParams;
import com.zjx.shop.common.entity.SkuHasStockVo;
import com.zjx.shop.ware.entity.WareSkuEntity;

import java.util.List;


/**
 * 商品库存
 *
 * @author zjx
 * @email 1569675735@qq.com
 * @date 2023-05-06 15:21:39
 */
public interface WareSkuService extends IService<WareSkuEntity> {

    PageUtils queryPage(PageParams params);

    void addStock(Long skuId, Long wareId, String skuName, Integer skuNum);

    List<SkuHasStockVo> getSkuHasStock(List<Long> skuIds);
}

